package com.focus.xyz.core.utils;

/**
 * Created by chenmeng on 2016/4/11.
 */
public class Constants {

    //map中常用到的key值定义
    public static final String FLAG = "FLAG";
    public static final String _EXCEPTION = "EXCEPTION";

    public static final String SUCCESS = "SUCCESS";
    public static final String FAIL = "FAIL";
    public static final String ORACLE="1";
    public static final String MYSQL="2";
    public static final String S_JDBC_TYPE_VARCHAR = "VARCHAR";

    //任务类型
    public static final String TASK_FRONT = "前置";
    public static final String TASK_POST = "后置";

    public static final String _EXPECT = "EXPECT";
    public static final String _REAL = "REAL";

    public static final String _SUCCESS = "SUCCESS";
    public static final String _FAIL = "FAIL";

    //元素属性
    public static final String ATTR_STYLE = "style";
    public static final String ATTR_NAME = "name";
    public static final String ATTR_ID = "id";
    public static final String ATTR_TYPE = "type";
    public static final String ATTR_VALUE = "value";

    //元素属性值
    public static final String TYPE_TEXT="text";
    public static final String TYPE_CHECKBOX = "checkbox";
    public static final String TYPE_RADIO = "radio";
    public static final String TYPE_DATE = "date";
    public static final String TYPE_FILE = "file";
    //元素名称
    public static final String TAG_TR = "tr";
    public static final String TAG_TD = "td";
    public static final String TAG_SELECT = "select";
    public static final String TAG_INPUT = "input";
    public static final String TAG_TEXTAREA = "textarea";
    public static final String TAG_LI = "li";
    public static final String TAG_UL ="ul";
    public static final String TAG_A = "a";
    public static final String TAG_SPAN = "span";

    //driver type   LOCAL; REMOTE
    public static final String LOCAL_DRIVER = "LOCAL";
    public static final String REMOTE_DRIVER = "REMOTE";

    //browser type ie,chrome,firefox,opera,safari,edge,andriod
    public static final String IE = "ie";
    public static final String CHROME = "chrome";
    public static final String FIREFOX = "firefox";
    public static final String OPERA = "opera";
    public static final String EDGE = "edge";
    public static final String SAFARI = "safari";
    public static final String HTMLUNIT = "htmlunit";
    public static final String PLANTOMJS = "plantomjs";

    //Key word
    public static final String CASE_IDX = "0,2";
    public static final String STEP_IDX = "3,4,5";
    public static final String STEP_CASE_IDX = "0";

    public static final String SPLIT_DOT = ",";
    public static final String NULL = "null";
    public static final String STEP_SHEET = "测试用例";
    public static final String CASE_SHEET = "用例列表";
    public static final String STEP_RES_COL_IDX = "6";
    public static final String CASE_RES_COL_IDX = "4";
    public static final String M_SUC = "成功";
    public static final String M_FAIL = "失败";

    public final static long ELE_WAIT_TIME = 10000L;
    public final static long PAGE_WATI_TIME = 10000L;

    //渠道前台菜单名称
    public final static String U_F_SITE_MENU = "频道接入";
    public final static String U_F_API_MENU = "API调用";
    public final static String U_F_PROD_MENU = "所有产品";
    public final static String U_F_TB_MENU = "我要填单";
    public final static String U_F_ORD_MENU = "订单管理";
    public final static String U_F_INFO_MENU = "基本信息";
    public final static String U_F_SET_MENU = "安全设置";
    public final static String U_F_ACCT_MENU = "充值账户";
    public final static String U_F_SUB_MENU = "子账号管理";
    public final static String U_F_TRADE_MENU = "交易记录";
    public final static String U_F_SETTLE_MENU = "交易记录";
    public final static String U_F_BILL_MENU = "账单报表";

    public final static String RUN = "Y";
    public final static String NOT_RUN = "N";

    public final static String INS_DATA = "insData";
    public final static String INS_PLAN = "insPlan";
    public final static String INSURED = "insured";
    public final static String INS_APPLICANT = "applicant";
    public final static String INS_SUB = "sub";
    public final static String INS_WS = "channel";

    public final static String K_AGENT = "代理人";

    public final static String S_T_A = "按月结算";
    public final static String S_T_B = "单笔结算";

    public final static String APP_STAT_A = "已承保";

    public final static String PROD_TYPE_T= "团险";
    public final static String PROD_TYPE_A= "问卷";
}
